import { PlanList, PlanParam } from '../../types/jobs/planList';
import fetch, { BaseResponse } from '../index';
/**
 * 获取场次/讲次列表
 * @param  PlanParam
 * @returns PlanList
 */
export async function getPlanlist(param: PlanParam): Promise<BaseResponse<PlanList>> {
  const { data } = await fetch.get<BaseResponse<PlanList>>('/xuefu/oaphone/homework/planlist', { ...param });
  return data;
}
